﻿
using Radius.NET.Application.Const;

namespace Radius.NET.Application;

/// <summary>
/// 系统配置表种子数据
/// </summary>
public class SysConfigSeedData : ISqlSugarEntitySeedData<SysConfig>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    [IgnoreUpdate]
    public IEnumerable<SysConfig> HasData()
    {
        return new[]
        {
            //金蝶测试账套
            new SysConfig{ Id=351114065649733, Name="访问地址", Code="KingYXK_BaseUrl_TEST", Value="http://120.87.98.203:7788/k3cloud/", SysFlag=YesNoEnum.Y, Remark="访问地址", OrderNo=1, GroupCode="KingdeeIcloudConfigTest", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114180284485, Name="账套ID", Code="KingYXK_DbId_TEST", Value="6416585403a9d6", SysFlag=YesNoEnum.Y, Remark="账套ID", OrderNo=2, GroupCode="KingdeeIcloudConfigTest", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114272800837, Name="账号", Code="KingYXK_UserName_TEST", Value="Administrator", SysFlag=YesNoEnum.Y, Remark="账号", OrderNo=3, GroupCode="KingdeeIcloudConfigTest", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114399797317, Name="应用ID", Code="KingYXK_Appid_TEST", Value="231912_5/3N2yGPUkCZR8WIR+3O5+XqRu3awpnt", SysFlag=YesNoEnum.Y, Remark="应用ID", OrderNo=4, GroupCode="KingdeeIcloudConfigTest", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114498494533, Name="密钥", Code="KingYXK_Appsecret_TEST", Value="e72446052cfb4fcfacf8893b2e780f99", SysFlag=YesNoEnum.Y, Remark="密钥", OrderNo=5, GroupCode="KingdeeIcloudConfigTest", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114574749765, Name="语言", Code="KingYXK_Lcid_TEST", Value="2052", SysFlag=YesNoEnum.Y, Remark="语言", OrderNo=6, GroupCode="KingdeeIcloudConfigTest", CreateTime=DateTime.Now },

            //金蝶正式账套
            new SysConfig{ Id=351114180284486, Name="访问地址", Code="KingYXK_BaseUrl", Value="http://120.87.98.203:7788/k3cloud/", SysFlag=YesNoEnum.Y, Remark="访问地址", OrderNo=1, GroupCode="KingdeeIcloudConfig", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114180284487, Name="账套ID", Code="KingYXK_DbId", Value="6416585403a9d6", SysFlag=YesNoEnum.Y, Remark="账套ID", OrderNo=2, GroupCode="KingdeeIcloudConfig", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114180284488, Name="账号", Code="KingYXK_UserName", Value="kindgdee", SysFlag=YesNoEnum.Y, Remark="账号", OrderNo=3, GroupCode="KingdeeIcloudConfig", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114180284489, Name="应用ID", Code="KingYXK_Appid", Value="231912_5/3N2yGPUkCZR8WIR+3O5+XqRu3awpnt", SysFlag=YesNoEnum.Y, Remark="应用ID", OrderNo=4, GroupCode="KingdeeIcloudConfig", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114180284490, Name="密钥", Code="KingYXK_Appsecret", Value="e72446052cfb4fcfacf8893b2e780f99", SysFlag=YesNoEnum.Y, Remark="密钥", OrderNo=5, GroupCode="KingdeeIcloudConfig", CreateTime=DateTime.Now },
            new SysConfig{ Id=351114180284491, Name="语言", Code="KingYXK_Lcid", Value="2052", SysFlag=YesNoEnum.Y, Remark="语言", OrderNo=6, GroupCode="KingdeeIcloudConfig", CreateTime=DateTime.Now },
        };
    }
}